<!DOCTYPE html>
<html>
<head>
<title></title>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta
	content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no"
	name="viewport">
<link rel="stylesheet" href="../../css/bootstrap.min.css">
<link rel="stylesheet" href="../../css/font-awesome.min.css">
<link rel="stylesheet"
	href="../../plugins/jqgrid/ui.jqgrid-bootstrap.css">
<link rel="stylesheet"
	href="../../plugins/ztree/css/metroStyle/metroStyle.css">
<link rel="stylesheet" href="../../css/main.css">
<link rel="stylesheet" href="../../assets/css/amazeui.min.css">
<script src="../../libs/jquery.min.js" type="text/javascript"></script>
<script src="../../plugins/layer/layer.js" type="text/javascript"></script>
<script src="../../libs/bootstrap.min.js" type="text/javascript"></script>
<script src="../../libs/vue.min.js" type="text/javascript"></script>
<script src="../../plugins/jqgrid/grid.locale-cn.js"
	type="text/javascript"></script>
<script src="../../plugins/jqgrid/jquery.jqGrid.min.js"
	type="text/javascript"></script>
<script src="../../plugins/ztree/jquery.ztree.all.min.js"
	type="text/javascript"></script>
<script src="../../js/common.js" type="text/javascript"></script>
<script src="../../assets/js/amazeui.min.js" type="text/javascript"></script>
<style>
.form-group.center {
    margin: 10px auto;
    width: 33%;
    float: left;
}
.col-sm-2 {
    width: 37%;
}
</style>
</head>
<body>
	<div id="rrapp" v-cloak>
		<div class="panel panel-default">
			<div class="panel-heading">新增</div>
			<form class="form-horizontal" style="width:1180px;margin:0 auto;">
				<div class="form-group" style="display: none">
					<div class="col-sm-2 control-label">序号：</div>
					<div class="col-sm-10">
						<input id="serialNo" type="text" class="form-control"
							v-model="comPaymentHistory.serialNo" placeholder="序号" />
					</div>
				</div>
				<div class="form-group center">
					<div class="col-sm-2 control-label" >楼号：</div>
					<div class="col-sm-10" style="width: 200px">
						<input id="assetIds" type="text" class="form-control"
							v-model="comPaymentHistory.buildIds" placeholder="楼号" />
					</div>
				</div>
				<div class="form-group center">
					<div class="col-sm-2 control-label" >房号：</div>
					<div class="col-sm-10" style="width: 200px">
						<input id="assetIds" type="text" class="form-control"
							v-model="comPaymentHistory.assetIds" placeholder="房号" />
					</div>
				</div>
				<div class="form-group center">
					<div class="col-sm-2 control-label" >合同号：</div>
					<div class="col-sm-10" style="width: 200px">
						<input id="contractNo" type="text" class="form-control"
							v-model="comPaymentHistory.contractNo" placeholder="合同号" />
					</div>
				</div>
				<div class="form-group center">
					<div class="col-sm-2 control-label" >单据编号：</div>
					<div class="col-sm-10" style="width: 200px">
						<input type="text" class="form-control"
							v-model="comPaymentHistory.billNo" placeholder="单据编号" />
					</div>
				</div>
				<div class="form-group center">
					<div class="col-sm-2 control-label">付款方式：</div>
					<div class="col-sm-10" style="width: 200px">
						<select class="form-control"
							v-model="comPaymentHistory.paymentMethod">
							<option value="">请选择</option>
							<option value="现金">现金</option>
							<option value="转账">转账</option>
						</select>
					</div>
				</div>
				<div class="form-group center">
					<div class="col-sm-2 control-label">付款时间：</div>
					<div class="col-sm-10" style="width: 200px">
						<input id="due" class="form-control" data-am-datepicker readonly
							type="text" placeholder="付款时间" />
					</div>
				</div>
				<div class="form-group center">
					<div class="col-sm-2 control-label">业主姓名：</div>
					<div class="col-sm-10" style="width: 200px">
						<input id="proprietor" type="text" class="form-control"
							v-model="comPaymentHistory.proprietor" placeholder="业主姓名" />
					</div>
				</div>
				<div class="form-group center">
					<div class="col-sm-2 control-label"></div>
					<div class="col-sm-10" style="width: 200px">
						
					</div>
				</div>
				<table id="table" border="1" cellspacing="0" cellpadding="0"
					style="width:1080px;text-align: center; margin: 20px 40px">
					<tr style="height: 50px; background-color: #e5e8f3">
						<td style="width: 97px">收费项目</td>
						<td style="width: 94px">单价</td>
						<td style="width: 94px">面积</td>
						<td style="width: 220px">计费期间</td>
						<td style="width: 130px">月份数</td>
						<td style="width: 127px">应付金额</td>
						<td style="width: 159px">实付金额</td>
						<td style="width: 122px">备注</td>
					</tr>
					<tr style="height: 50px">
						<td>租金</td>
						<td><input id="univalent" type="text"
							v-model="comPaymentHistory.univalent"
							style="width: 87px; height: 40px" /></td>
						<td><input id="acreage" type="text"
							v-model="comPaymentHistory.acreage"
							style="width: 84px; height: 40px" /></td>
						<td><input id="chargingSd" class="laydate-icon"
							data-am-datepicker readonly type="text" placeholder="计费开始时间"
							style="width: 95px; height: 40px" /> 至 <input id="chargingEd"
							class="laydate-icon" data-am-datepicker readonly type="text"
							placeholder="计费结束时间" style="width: 95px; height: 40px" /></td>
						<td><label id="month" v-model="comPaymentHistory.month"></label>
						</td>
						<td><label id="amountPayable"
							v-model="comPaymentHistory.amountPayable"></label></td>
						<td><input id="payAmount" type="text"
							v-model="comPaymentHistory.payAmount"
							style="width: 149px; height: 40px" /></td>
						<td><textarea v-model="comPaymentHistory.remark"
								style="width: 112px; height: 40px" maxlength="1000"></textarea>
						</td>
					</tr>
					<tr style="height: 50px">
						<td>总计</td>
						<td>--</td>
						<td>--</td>
						<td>--</td>
						<td>--</td>
						<td><label id="amountPayableTotal"></label></td>
						<td><label id="payAmountTotal"></label></td>
						<td>--</td>
					</tr>
				</table>
				<div class="form-group">
					<div class="col-sm-2 control-label"></div>
					<input type="button" class="btn btn-primary" @click="saveOrUpdate"
						value="确定" /> &nbsp;&nbsp;<input type="button"
						class="btn btn-warning" @click="back" value="返回" />
				</div>
			</form>
		</div>
	</div>

	<script src="../../js/modules/com/compaymenthistoryAdd.js"
		type="text/javascript"></script>
</body>
</html>